<h1><?php __('INTERESES');?></h1>
<table cellpadding="0" cellspacing="0">
<tr>
	<th><?php echo $this->Paginator->sort('id');?></th>
	<th><?php echo $this->Paginator->sort('title');?></th>
	<th class="actions"><?php __('Acciones');?></th>
</tr>
<?php
$i = 0;
foreach ($interese as $interese):
	$class = null;
	if ($i++ % 2 == 0) {
		$class = ' class="altrow"';
	}
?>
<tr<?php echo $class;?>>
	<td><?php echo $interese['Interese']['id']; ?>&nbsp;</td>
	<td><?php echo $interese['Interese']['title']; ?>&nbsp;</td>
	<td class="actions">
		<?php echo $this->Html->link(__('Editar', true), array('action' => 'edit', $interese['Interese']['id'])); ?>
		<?php echo $this->Html->link(__('Eliminar', true), array('action' => 'delete', $interese['Interese']['id']), null, sprintf(__('¿Seguro que quieres eliminar # %s?', true), $interese['Interese']['title'])); ?>
	</td>
</tr>
<?php endforeach; ?>
</table>
	
<p><?php
echo $this->Paginator->counter(array(
'format' => __('Página %page% de %pages%, mostrando %current% registros de un total de %count%, empezando en %start% y acabando en %end%', true)
));
?>	</p>

<div class="paging">
	<?php echo $this->Paginator->prev('<< ' . __('anterior', true), array(), null, array('class'=>'disabled'));?>
 | 	<?php echo $this->Paginator->numbers();?>
 |
		<?php echo $this->Paginator->next(__('siguiente', true) . ' >>', array(), null, array('class' => 'disabled'));?>
</div>

<div class="actions">
	<h3><?php __('Acciones'); ?></h3>
	<ul>
		<li><?php echo $this->Html->link(__('Nuevo interés', true), array('action' => 'add')); ?></li>
	</ul>
</div>